package com.mercury.share.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 童
 * @createTime 2021/11/22 14:56
 * @projectName coffee-parent
 * @className CommentInfoVo.java
 * @description 评论列表的用户信息，包括头像，昵称，内容和发布时间
 */
@Data
@Accessors(chain = true)
@ApiModel(value="评论列表对象", description="")
public class CommentInfoVo {

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("评论id")
    private int commentId;

    @ApiModelProperty("用户昵称")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userImg;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("发布时间")
    private Date createTime;


}
